import request from '@/utils/request';

export function getShared(page) {
  return request({
    method: 'GET',
    url: 'http://192.168.32.36:3000/storeshraed',
    params: { _page: page.pagenum, _limit: page.pagesizes },
  });
}
export function getCondata(dpage) {
  return request({
    method: 'GET',
    url: 'http://192.168.32.36:3000/persondealer',
    params: { _page: dpage.pagenum, _limit: dpage.pagesizes },
  });
  //     url: 'storeshraed',
  //     params: { _page: page.pagenum, _limit: page.pagesizes }
  //   })
}
export function delCondata(id) {
  return request({
    method: 'delete',
    url: `http://192.168.32.36:3000/persondealer/${id}`,
  });
}
